package com.qf.zyh.entity;


import java.sql.Date;
import java.text.SimpleDateFormat;

public class BookInfo {
  @Override
  public String toString() {
    return "BookInfo{" +
            "bookId=" + bookId +
            ", bookCode='" + bookCode + '\'' +
            ", bookName='" + bookName + '\'' +
            ", bookType=" + bookType +
            ", bookAuthor=" + bookAuthor +
            ", publishPress='" + publishPress + '\'' +
            ", publishDate=" + publishDate +
            ", isBorrow=" + isBorrow +
            ", createdBy='" + createdBy + '\'' +
            ", creationTime=" + creationTime +
            ", lastUpdatetime=" + lastUpdatetime +
            ", Type=" + Type +
            '}';
  }

  private int bookId;
  private String bookCode;
  private String bookName;
  private int bookType;
  private int bookAuthor;
  private String publishPress;
  private java.sql.Date publishDate;
  private int isBorrow;
  private String createdBy;
  private java.sql.Date creationTime;
  private java.sql.Date lastUpdatetime;
  private BookType Type;
  public BookInfo() {
  }

  public BookType getType() {
    return Type;
  }

  public void setType(BookType type) {
    Type = type;
  }

  public BookInfo(int bookId, String bookCode, String bookName, int bookType, int bookAuthor, String publishPress, Date publishDate, int isBorrow, String createdBy, Date creationTime, Date lastUpdatetime, BookType type) {
    this.bookId = bookId;
    this.bookCode = bookCode;
    this.bookName = bookName;
    this.bookType = bookType;
    this.bookAuthor = bookAuthor;
    this.publishPress = publishPress;
    this.publishDate = publishDate;
    this.isBorrow = isBorrow;
    this.createdBy = createdBy;
    this.creationTime = creationTime;
    this.lastUpdatetime = lastUpdatetime;
    Type = type;
  }

  public BookInfo(int bookId, String bookCode, String bookName, int bookType, int bookAuthor, String publishPress, Date publishDate, int isBorrow, String createdBy, Date creationTime, Date lastUpdatetime) {
    this.bookId = bookId;
    this.bookCode = bookCode;
    this.bookName = bookName;
    this.bookType = bookType;
    this.bookAuthor = bookAuthor;
    this.publishPress = publishPress;
    this.publishDate = publishDate;
    this.isBorrow = isBorrow;
    this.createdBy = createdBy;
    this.creationTime = creationTime;
    this.lastUpdatetime = lastUpdatetime;
  }

  public long getBookId() {
    return bookId;
  }

  public void setBookId(int bookId) {
    this.bookId = bookId;
  }


  public String getBookCode() {
    return bookCode;
  }

  public void setBookCode(String bookCode) {
    this.bookCode = bookCode;
  }


  public String getBookName() {
    return bookName;
  }

  public void setBookName(String bookName) {
    this.bookName = bookName;
  }


  public long getBookType() {
    return bookType;
  }

  public void setBookType(int bookType) {
    this.bookType = bookType;
  }


  public long getBookAuthor() {
    return bookAuthor;
  }

  public void setBookAuthor(int bookAuthor) {
    this.bookAuthor = bookAuthor;
  }


  public String getPublishPress() {
    return publishPress;
  }

  public void setPublishPress(String publishPress) {
    this.publishPress = publishPress;
  }


  public java.sql.Date getPublishDate() {
    return publishDate;
  }

  public void setPublishDate(java.sql.Date publishDate) {
    this.publishDate = publishDate;
  }


  public long getIsBorrow() {
    return isBorrow;
  }

  public void setIsBorrow(int isBorrow) {
    this.isBorrow = isBorrow;
  }


  public String getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
  }


  public java.sql.Date getCreationTime() {
    return creationTime;
  }

  public void setCreationTime(java.sql.Date creationTime) {
    this.creationTime = creationTime;
  }


  public java.sql.Date getLastUpdatetime() {
    return lastUpdatetime;
  }

  public void setLastUpdatetime(java.sql.Date lastUpdatetime) {
    this.lastUpdatetime = lastUpdatetime;
  }

}
